package com.xiaoyun.alllearning.domain.dto;

import com.xiaoyun.alllearning.util.InsertValidationGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
@ApiModel
public class UserQueryDTO implements Serializable {

    @NotEmpty(message = "用户名不能为空！")
    @ApiModelProperty
    private String username;
}
